﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace com.ytocargo.Core.Charts
{
    public interface IChartStore
    {
        Task<bool> BatchInsertAsync(List<Chart> charts);

        Task InsertAsync(Chart chart);

        Task DeleteAsync(Chart chart);

        Task<bool> DeleteAllAsync();

        IQueryable<Chart> GetAll();
    }
}
